import { createApp } from "vue";
import "normalize.css";
import "./assets/css/index.less";
import App from "./App.vue";
import router from "./router/index.js";
import pinia from "./store/index.js";
import ElementPlus from "element-plus";
import zhCn from "element-plus/dist/locale/zh-cn.mjs";
import "./styles/common.less";
// import SvgIcon from './components/svgIcon.vue'

// svg图标
// import "virtual:svg-icons-register";
import SvgIcon from "@/components/SvgIcon/index.vue";
import elementIcons from "@/components/SvgIcon/svgicon.js";
const app = createApp(App);

app.use(router);
app.use(pinia);
app.use(elementIcons);
app.use(ElementPlus, {
  locale: zhCn,
});
app.component("svg-icon", SvgIcon);

app.mount("#app");
